

/*二维码点击事件*/
var s = document.querySelector('.qr s');
var qr = document.querySelector('.qr')
s.onclick=function(){
	qr.style.display = 'none';
}



/*Swiper JS*/
var swiper1 = new Swiper('.center-top .swiper-container', {
    slidesPerView: 1,
    spaceBetween: 30,
    loop: true,
    pagination: {
        el: '.swiper-pagination',
        clickable: true,
    },
    navigation: {
        nextEl: '.swiper-button-next',
        prevEl: '.swiper-button-prev',
    },
});


var swiper2 = new Swiper('.center-bottom .swiper-container', {
    pagination: {
      el: '.swiper-pagination',
      type: 'progressbar',
    },
    navigation: {
      nextEl: '.swiper-button-next',
      prevEl: '.swiper-button-prev',
    },
});